Miscellaneous Functions There are three remaining MathLib transcendental functions: nextafter(x,y) Returns next representable number after x in direction of y. hypot(x) Computes hypotenuse of a right triangle. randomx(x) A pseudorandom number generator.